<template>
  <van-dialog confirmButtonColor="#e49829"  @confirm="confirm" @cancel="confirm" v-model="notMembershow"  show-cancel-button>
    <p class="member">
 
       Dear customers, your membership time may have expired or are not authorized to use this channel, please call the service hotline: Peter
      <a :href="'tel:'+phoneNum">{{phoneNum}}</a>
    </p>
  </van-dialog>
</template>
<script type="text/ecmascript-6">
export default {
  data() {
    return {
      phoneNum: this.$store.state.nocaches.kefuphone,
      notMembershow: this.$store.state.nocaches.notMemberobj.notMembershow
    };
  },
    computed: {
        setshow(){
            return this.$store.state.nocaches.notMemberobj
        }
    },
    watch: {
        setshow(n,o){
            console.log(11,n)
            console.log(22,o)
                this.notMembershow=n.notMembershow
        } 
    },
  methods: {
      confirm(){
          this.$store.commit("munotMember", {
          notMember: true, //是否是该频道会员
          notMembershow: false
        });
      }
  },
  created() {}
};
</script>
<style scoped lang="less">
.member {
  padding: 20px;
  line-height: 1.5;
      table-layout: fixed;
    word-break: keep-all;
    word-wrap: break-word;
  a {
    color: #e49829;
  }
}
</style>
